package com.peking.donations.service;

import com.peking.donations.model.DonationUser;

import java.util.Map;

/**
 * Created by wyz on 16/4/27.
 */
public interface UserService {

    DonationUser saveUser(DonationUser user);

    DonationUser updateUser(DonationUser user);

    DonationUser findByOpenId(String openId);

    DonationUser updateUser(int userId,String grade,String department,String code);

    DonationUser findById(int userId);


}
